﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package reprise.css.math {

    public class CSSCalculationPercentage extends AbstractCSSCalculation {

        private var m_value:Number;

        public function CSSCalculationPercentage(_arg1:String){
            m_value = (parseFloat(_arg1) / 100);
        }
        public function toString():String{
            return ((("relative value: " + (m_value * 100)) + "%"));
        }
        override public function resolve(_arg1:Number, _arg2:ICSSCalculationContext=null):Number{
            return ((_arg1 * m_value));
        }

    }
}//package reprise.css.math 
